package com.zhx.business.result;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.util.MultiValueMap;

import java.io.Serializable;

public class RpcResponseEntity<T extends Serializable> extends ResponseEntity<T> implements Serializable {


    public RpcResponseEntity(HttpStatus status) {
        super(status);
    }

    public RpcResponseEntity(T body, HttpStatus status) {
        super(body, status);
    }

    public RpcResponseEntity(MultiValueMap<String, String> headers, HttpStatus status) {
        super(headers, status);
    }

    public RpcResponseEntity(T body, MultiValueMap<String, String> headers, HttpStatus status) {
        super(body, headers, status);
    }


}
